package cycling.taxi.com.ui.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import cycling.taxi.com.R;
import cycling.taxi.com.person.ExitApplication;

public class TrancferActivty extends AppCompatActivity implements View.OnClickListener{
    private ImageView back;
    private TextView mTitleText;
    private Button tra_btn;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ExitApplication.getInstance().addActivity(this);
        setContentView(R.layout.activity_trancfer_activty);
        back=(ImageView)findViewById(R.id.back);
        tra_btn=(Button)findViewById(R.id.tra_btn);
        mTitleText=(TextView)findViewById(R.id.title_text);
        mTitleText.setText("发起过户");
        tra_btn.setOnClickListener(this);
        back.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        if(v.getId()==R.id.back){
            finish();
        }
        if(v.getId()==R.id.tra_btn){
            Intent intent = new Intent(this,Tancfer.class);
            startActivity(intent);
        }
    }
}
